projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4bb833
)
(Faccept_process_output): Check validity of PROCESS.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 8 Apr 1999 16:50:04 +0000
(16:50 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 8 Apr 1999 16:50:04 +0000
(16:50 +0000)
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index 7bd40ad685e325c9338d181192cc24e7b627fffb..e210cd4aa2a269d29f3eea951924e3fe5a9fcb86 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-2157,6
+2157,9
@@
Return non-nil iff we received any output before the timeout expired.")
int seconds;
int useconds;
+ if (! NILP (process))
+ CHECK_PROCESS (process, 0);
+
if (! NILP (timeout_msecs))
{
CHECK_NUMBER (timeout_msecs, 2);